package com.example.cr.insect.mapper;

import com.example.cr.insect.entity.Pest;
import com.example.cr.insect.entity.PestExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PestMapper {
    long countByExample(PestExample example);

    int deleteByExample(PestExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Pest row);

    int insertSelective(Pest row);

    List<Pest> selectByExample(PestExample example);

    Pest selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") Pest row, @Param("example") PestExample example);

    int updateByExample(@Param("row") Pest row, @Param("example") PestExample example);

    int updateByPrimaryKeySelective(Pest row);

    int updateByPrimaryKey(Pest row);
}